import { IntersectionType, PartialType, PickType } from '@nestjs/mapped-types';
import { PaginationDto } from 'src/common/dtos/pagination.dto';
import { SignInDto } from 'src/modules/auth/dto/sign-in.dto';

export class ListDto extends IntersectionType(
  PaginationDto,
  PartialType(PickType(SignInDto, ['username'])),
) {}
